package com.lifesea.dao.mybatis;

import com.lifesea.model.MedResident;
import com.lifesea.model.MedResidentExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface MedResidentMapper {
    int countByExample(MedResidentExample example);

    int deleteByExample(MedResidentExample example);

    int deleteByPrimaryKey(Long ecn);

    int insert(MedResident record);

    int insertSelective(MedResident record);

    List<MedResident> selectByExampleWithBLOBs(MedResidentExample example);

    List<MedResident> selectByExample(MedResidentExample example);

    MedResident selectByPrimaryKey(Long ecn);

    int updateByExampleSelective(@Param("record") MedResident record, @Param("example") MedResidentExample example);

    int updateByExampleWithBLOBs(@Param("record") MedResident record, @Param("example") MedResidentExample example);

    int updateByExample(@Param("record") MedResident record, @Param("example") MedResidentExample example);

    int updateByPrimaryKeySelective(MedResident record);

    int updateByPrimaryKeyWithBLOBs(MedResident record);

    int updateByPrimaryKey(MedResident record);
}